package com.cn.wanxi.service;

import com.cn.wanxi.model.ProductModel;

import java.util.ArrayList;
import java.util.List;

public class ProductService {
    public List<ProductModel> getProductModelList() {
        List<ProductModel> list=new ArrayList<>();
        ProductModel productModel=new ProductModel();

        for (int i=0;i<productModel.list.size();i++){
            ProductModel model=new ProductModel();
            model.setSrc(productModel.list.get(i));
            list.add(model);
        }
        return list;
    }
}
